package com.cloud.mall.test.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cloud.mall.test.entity.StorageTbl;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface StorageTblMapper extends BaseMapper<StorageTbl> {

    /**
     * 扣除存储数量
     */
    void deduct(@Param("commodityCode") String commodityCode, @Param("count") int count);
}